package com.lm.batch.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lm.batch.entry.SysUserEntity;
import com.lm.batch.mapper.SysUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService extends ServiceImpl<SysUserMapper, SysUserEntity> {

    @Resource
    private SysUserMapper sysUserMapper;

    public SysUserEntity getUserById(Long id){
        return sysUserMapper.selectById(id);
    }
}